package cn.bdqn.dao.bill;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.bdqn.pojo.Bill;
import cn.bdqn.pojo.DataDictionary;

public interface BillMapper {
	
	public int add(Bill bill);

	public List<Bill> getBillList(@Param("rec_state")Integer rec_state,@Param("num")Integer pageNO,@Param("size")Integer pageSize);

	public int deleteBill(int id);

	public Bill getBillById(String id);

	public boolean modifyBill(Bill bill);

	public int getBillCountByProviderId(String providerId);
	
	public int getCount(@Param("rec_state")Integer rec_state);
	
	public Bill selectId(int rec_id);
	
	public int update(Bill bill);
	//遍历所有招聘审核状态
	public List<DataDictionary> getDataDicList(@Param("typeCode")String typeCode);
}
